package com.demo.hc.dal.dao.custom;

import com.demo.hc.dal.dao.mbg.AreaMapper;
import com.demo.hc.model.view.AreaView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreaMapperCustom extends AreaMapper {

    int countArea(@Param("areaType") Byte areaType, @Param("parentId") Integer parentId);

    List<AreaView> listArea(@Param("areaType") Byte areaType, @Param("parentId") Integer parentId);

}